<template>
  <router-view/>

  <van-tabbar route>
     <van-tabbar-item replace to="/" icon="home-o">首页</van-tabbar-item>
     <van-tabbar-item replace to="/category" icon="setting-o">分类</van-tabbar-item>
     <van-tabbar-item replace to="/cart" icon="setting-o">购物车</van-tabbar-item>
     <van-tabbar-item replace to="/mine" icon="setting-o">我的</van-tabbar-item>
  </van-tabbar>

</template>

<script>
import { Tabbar } from "vant/es/tabbar"
import "vant/es/tabbar/style"
import { TabbarItem } from "vant/es"
import "vant/es/tabbar-item/style"
import { ref } from "@vue/reactivity"

export default {
  components:{
     [Tabbar.name] : Tabbar,
     [TabbarItem.name] : TabbarItem,
  
  },
  setup() {
  
    return {
    
    }
  },
}
</script>

<style>
#app {
  
}
</style>

